import { Controller, Get, Body,UnauthorizedException, NotFoundException } from '@nestjs/common';
import { CourseTypeService } from './course-type.service';

@Controller('course-type')
export class CourseTypeController {
  constructor(private readonly CourseTypeService: CourseTypeService) {}
  @Get('')
  getCourse() {
   return this.CourseTypeService.getType();
  }
}
